-
Notifications
You must be signed in to change notification settings - Fork 1.2k
fix(cli): ignore msbuild binlog files #14621
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(cli): ignore msbuild binlog files #14621
Conversation
/azp run PR |
Azure Pipelines successfully started running 1 pipeline(s). |
/azp run PR |
Azure Pipelines successfully started running 1 pipeline(s). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This pull request fixes an issue by updating the CLI logic to properly ignore MSBuild log files and adjusts the default log directory for build logs. Key changes include:
- Updating the gitignore templates in both cpp-lib and cpp-app to ignore MSBuild binlog, error, and warning files.
- Modifying the msbuildtools.ts file to change the default log directory from the OS temporary directory to the directory of the solution file and simplifying the binlog flag.
- Updating change files with prerelease metadata for both the library and CLI.
Reviewed Changes
Copilot reviewed 5 out of 5 changed files in this pull request and generated 2 comments.
File | Description |
---|---|
vnext/templates/cpp-lib/windows/_gitignore | Added rules to ignore MSBuild log files; note a spelling error in a comment. |
vnext/templates/cpp-app/windows/_gitignore | Added rules to ignore MSBuild log files; note a spelling error in a comment. |
packages/@react-native-windows/cli/src/utils/msbuildtools.ts | Updated default log directory and simplified binlog option handling. |
change/*.json | Updated prerelease metadata entries. |
/azp run |
Azure Pipelines successfully started running 2 pipeline(s). |
Description
Type of Change
Why
What is the motivation for this change? Add a few sentences describing the context and overall goals of the pull request's commits.
Resolves #14160
What
.gitignore
templates to target MS Build related log files (*.binlog, *.wrn, *.err)windows
directory (determined from the location of the solution file)Screenshots
TODO
Testing
TODO
Changelog
Should this change be included in the release notes: No
Microsoft Reviewers: Open in CodeFlow